/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sms4j.notification;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.smslib.AGateway;
import org.smslib.IOutboundMessageNotification;
import org.smslib.OutboundMessage;

/**
 *
 * @author Swang
 */
public class OutboundNotification implements IOutboundMessageNotification {

    private static final Log filelog = LogFactory.getLog("sms4j.notification");

    @Override
    public void process(AGateway gateway, OutboundMessage msg) {
        filelog.info("Outbound handler called from Gateway: " + gateway.getGatewayId());
        filelog.info(msg);
    }
}
